body {
    max-width: 540px;
    min-width: 320px;
    margin: 0 auto;
    font: normal 14px/1.5 Tahoma, "Lucide Granda", Verdana, "Microsoft Yahei", STXihei, hei;
    color: #000;
    background: #f2f2f2;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

/* ul会存在内外边距 */
ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

/* 搜索模块 */
.search-index {
    display: flex;
    position: fixed;
    width: 100%;
    height: 44px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 540px;
    min-width: 320px;
    background-color: #f2f2f2;
    z-index: 999;
}

.search-index .search {
    height: 26px;
    border: 1px solid #ccc;
    position: relative;
    flex: 1;
    /* background-color: aquamarine; */
    margin: 6px;
    padding-left: 28px;
    padding-top: 2px;
    font-size: 12px;
    color: #ccc;
    line-height: 24px;
    border-radius: 5px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, .2);
}

.search-index .search::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 9px;
    display: block;
    height: 14px;
    width: 14px;
    background: url(../images/sprite.png) no-repeat -61px -289px;
    background-size: 108px;
}

.search-index .user {
    width: 44px;
    height: 44px;
    /* background-color: aqua; */
    text-align: center;
    font-size: 12px;
    color: #099FDE;
}

.search-index .user::before {
    content: "";
    display: block;
    width: 23px;
    height: 23px;
    background: url(../images/sprite.png) no-repeat -59px -194px;
    background-size: 104px auto;
    margin: 4px auto 0;
}

/* 焦点图模块 */
.focus {
    position: relative;
    overflow: hidden;
}

.focus img {
    width: 100%;
    padding-top: 44px;
}

.focus ul {
    width: 500%;
    overflow: hidden;
    margin-left: -100%;
}

.focus>ul li {
    float: left;
    width: 20%;
}

.focus ol {
    position: absolute;
    bottom: 5px;
    right: 5px;
    margin: 0;
}

.focus ol li {
    display: inline-block;
    width: 5px;
    height: 5px;
    background-color: #fff;
    border-radius: 5px;
    transition: all .3s;
}

.focus ol li.current {
    width: 10px;
}

/* 局部导航栏模块 */
.nav-part {
    display: flex;
    height: 64px;
    background-color: white;
    border-radius: 8px;
    margin: 3px 4px;
    justify-content: space-between;
}

.nav-part li {
    flex: 1;
}

.nav-part a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 8px;
    font-size: 14px;
    color: #000;
}

.nav-part .one span:first-child {
    width: 32px;
    height: 32px;
    background-color: pink;
    background: url(../images/localnav_bg.png) no-repeat 0px 0px;
    background-size: 32px;

}

.nav-part .two span:first-child {
    width: 32px;
    height: 32px;
    background-color: pink;
    background: url(../images/localnav_bg.png) no-repeat 0px -32px;
    background-size: 32px;
}

.nav-part .three span:first-child {
    width: 32px;
    height: 32px;
    background-color: pink;
    background: url(../images/localnav_bg.png) no-repeat 0px -64px;
    background-size: 32px;
}

.nav-part .four span:first-child {
    width: 32px;
    height: 32px;
    background-color: pink;
    background: url(../images/localnav_bg.png) no-repeat 0px -96px;
    background-size: 32px;
}

.nav-part .five span:first-child {
    width: 32px;
    height: 32px;
    background-color: pink;
    background: url(../images/localnav_bg.png) no-repeat 0px -128px;
    background-size: 32px;
}

nav {
    border-radius: 8px;
    margin: 8px 4px 0;
    overflow: hidden;
}

.nav-common {
    display: flex;
    height: 88px;
    background-color: pink;
}

.nav-common:nth-child(2) {
    margin: 3px 0;
}

.nav-common .nav-items {
    flex: 1;
    /* 不冲突 */
    display: flex;
    flex-direction: column;
}

.nav-common:nth-child(1) {
    background: -webkit-linear-gradient(left, #FA5F54, #FA964D);
}

.nav-common:nth-child(2) {
    background: -webkit-linear-gradient(left, #4B91ED, #52BAED);
}

.nav-common:nth-child(3) {
    background: -webkit-linear-gradient(left, #36C2A5, #69D45C);
}

.nav-common .nav-items:nth-child(-n+2) {
    border-right: 1px solid #fff;
}

.nav-common .nav-items a {
    flex: 1;
    text-align: center;
    line-height: 44px;
    font-size: 14px;
    color: #fff;
}

.nav-common .nav-items a:first-child {
    border-bottom: 1px solid #fff;
}

.nav-common .nav-items:first-child a {
    border-bottom: 0;
    background: url(../images/hotel.png) no-repeat bottom center;
    background-size: 121px;
}

/* 测导航栏 */
.nav-centry {
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    margin: 4px 4px;
    flex-wrap: wrap;

}

.nav-centry li {
    /* 子元素属性可以是百分比 */
    flex: 20%;
}

.nav-centry li a {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    color: #000;
    align-items: center;
}

.nav-centry li a .nav-centry-icon {
    width: 28px;
    height: 28px;
    background: url(../images/subnav-bg.png) no-repeat;
    background-size: 28px;
    margin-top: 3px;
    margin-bottom: -3px;
}

.hot-hd {
    position: relative;
    height: 44px;
    background-color: #fff;

}

.hot-hd h3 {
    position: absolute;
    top: 0;
    left: 24px;
    width: 79px;
    height: 15px;
    text-indent: -999px;
    background: url(../images/hot.png) no-repeat 0 -20px;
    background-size: 79px auto;
}

.hot-hd a {
    position: absolute;
    top: 10px;
    right: 8px;
    text-align: center;
    line-height: 24px;
    font-size: 12px;
    color: #fff;
    background: -webkit-linear-gradient(left, pink, hotpink);
    border-radius: 8px;
    padding: 3px 19px 3px 6px;
}

.hot-hd a::after {
    content: '';
    display: block;
    position: absolute;
    right: 10px;
    top: 12px;
    width: 7px;
    height: 7px;
    border: 1px solid #fff;
    border-left: transparent;
    border-bottom: transparent;
    transform: rotate(45deg);
}


.hot-bd .row {
    display: flex;
}

.hot-bd a {
    flex: 1;
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
}

.hot-bd .row img {
    width: 100%;
    height: 100%;
}

.footer {
    display: flex;
    margin: 10px 0;
    background-color: #fff;
}

.footer a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #000;
    font-size: 12px;
}

.footer a::before {
    content: '';
    display: block;
    width: 23px;
    height: 23px;
    background: url(../images/sprite.png) no-repeat -56px -149px;
    background-size: 104px;
}

.footer a:nth-child(2)::before {
    background: url(../images/sprite.png) no-repeat -55px -170px;
    background-size: 104px;
}

.footer a:nth-child(3)::before {
    background: url(../images/sprite.png) no-repeat -55px -306px;
    background-size: 104px;
}